/*
 ============================================================================
 Name		: core.h
 Author	  : Diego
 Copyright   : Your copyright notice
 Description : core.h - Ccore class header
 ============================================================================
 */

// This file defines the API for core.dll

#ifndef __CORE_H__
#define __CORE_H__

//  Include Files

#include <e32base.h>	// CBase
#include <e32std.h>	 // TBuf

//  Constants

const TInt KcoreBufferLength = 15;
typedef TBuf<KcoreBufferLength> TcoreExampleString;

//  Class Definitions

class Ccore : public CBase
	{
public:
	// new functions
	IMPORT_C static Ccore* NewL();
	IMPORT_C static Ccore* NewLC();
	IMPORT_C ~Ccore();

public:
	// new functions, example API
	IMPORT_C TVersion Version() const;
	IMPORT_C void ExampleFuncAddCharL(const TChar& aChar);
	IMPORT_C void ExampleFuncRemoveLast();
	IMPORT_C const TPtrC ExampleFuncString() const;

private:
	// new functions
	Ccore();
	void ConstructL();

private:
	// data
	TcoreExampleString* iString;
	};

#endif  // __CORE_H__

